// 构建记录增删改查接口管理

import instance from "./http"

const build = {
    // 获取构建记录
    getBuild(params) {
        return instance({
            method: 'GET',
            url: '/build',
            params: params
        })
    },

    // 添加构建记录
    addBuild(data) {
        return instance({
            method: 'POST',
            url: '/build',
            data: data
        })
    },

    // 删除构建记录
    deleteBuild(data) {
        return instance({
            method: 'DELETE',
            url: '/build',
            data: data
        })
    },
}

// 导出
export default build